package com.zjj.learn.javaplus.pkg03.demo304;

public class SportStudent extends Student implements Sport {
    public SportStudent() {

    }

    public SportStudent(String name, Integer age) {
        super(name, age);
    }

    @Override
    public void playBasketBall() {
        System.out.println("年龄为 " + super.getAge() + " 岁的学生：" + super.getName() + " 在打篮球");
    }
}
